<template>
	<view class="">
		<!-- <u-navbar title="线索详情" :bgColor="background" leftIconColor="#ffffff" :titleStyle="{'color':'#ffffff'}" ></u-navbar> -->
		<!-- <hx-navbar title="线索详情" :config="config"  ></hx-navbar> -->
		<view>
			<!-- 正文内容 -->
			<!-- 用户信息 -->
			<view class="userInfo">
				<text style="font-size: 30rpx;color: #fff;margin:0 30rpx;">{{detail.memberName}}</text>
				<text style="color: #fff;border: #fff 2rpx solid;border-radius: 8rpx;padding: 5rpx 20rpx;">{{detail.driversNo}}</text>
			</view>

			<!-- 基础信息 -->
			<view class="item">


				<view class="text-line" style="margin-top: 20rpx;">
					<text class="text-name">是否有驾照:</text>
					<text class="text-value">有</text>
				</view>
				<view class="text-line">
					<text class="text-name">准驾车型:</text>
					<text class="text-value">{{detail.driversType|filterNull}}</text>
				</view>
				<view class="text-line">
					<text class="text-name">有效期开始时间:</text>
					<text class="text-value">{{detail.driversStartTime|filterNull}}</text>
				</view>
				<view class="text-line">
					<text class="text-name">有效期结束时间:</text>
					<text class="text-value">{{detail.driversEndTime|filterNull}}</text>
				</view>
				<view class="text-line">
					<text class="text-name">档案编号:</text>
					<text class="text-value">{{detail.driversNo|filterNull}}</text>
				</view>

			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				detail: {}
			}
		},
		onLoad(op) {
			console.log('收到的op', op);
			this.detail = op;

		},
		methods: {

		}

	}
</script>

<style lang="scss" scoped>
	.userInfo {
		display: flex;
		width: 100%;
		align-items: center;
		// justify-content: space-between;
		height: 130rpx;
		background-color: #1573FF;

		// background: linear-gradient(45deg, #2464FF, #5765F9);
		.avator {
			margin-top: 30rpx;
			margin-left: 30rpx;
			width: 120rpx;
			height: 120rpx;
		}

		.userContent {
			margin-top: 10rpx;
			display: flex;
			flex: 1;
			flex-direction: column;

			.contentText {
				color: $xz-textColor-FF;
				font-size: $xz-font-size-24;
				position: relative;
				left: 20rpx;
				margin-top: 20rpx;
			}
		}

	}

	.rightContent {
		margin-top: 20rpx;
		margin-right: 0rpx;
		width: 80rpx;
		height: 40rpx;
	}

	.basicaInfo {}
</style>
